<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

<f:view> 

	<html>
		<head>
			<title>
				<h:outputText value = "ProjectTrack - Project details"/>
			</title>
			
			<link	rel = "stylesheet" 	
					type = "text/css"
					href = "stylesheet.css"/>
					
		</head>
		<body class = "page-background">
		<jsp:include page="/includes/header.jsp" />
		
		<h:form>
			<h:panelGrid	columns = "1"
							cellpadding = "5"
							headerClass = "page-header"
							footerClass = "project-background"
							styleClass = "project-background"
							rowClasses = "project-row">
							
				<f:facet name = "header">
					<h:outputText	value = "Approve a project"/>
				</f:facet>
				
				<h:panelGrid	columns = "2"
								cellpadding = "4"
								cellspacing = "1"
								width = "100%"
								border = "0"
								rowClasses = "table-odd-row, table-even-row">
								
					<%@ include file="/includes/project_info.jsp"%>
    				
    				<h:outputText	value = "Completed artifacts: " />
    				<h:panelGrid	rowClasses = "project-data"
    								cellpadding = "0"
    								cellspacing = "0">
    					<h:outputText	value = "Proppsal document" />
    					<h:outputText	value = "Project plan" />
    				</h:panelGrid>					
				</h:panelGrid>
				
				<f:facet name = "footer">
					<h:panelGroup>					
						
						<h:panelGrid	cellpadding = "5"
										styleClass = "table-background">
							<f:facet name="header">
								<h:outputText	value = "History"
												styleClass = "table-header" />
							</f:facet>
							
							<h:panelGrid	styleClass = "table-even-row"
											border = "1"
											cellpadding = "5"
											cellspacing = "3"
											width = "100%">
								
								<h:panelGrid	columns = "3"
												width = "100%">
									<h:outputText	value = "Tuesday, March 4, 2003 04:30 PM" />
									<h:outputText	value = "Proposal -> Planing" />
									<h:outputText	value = "(Project Manager)" />
								</h:panelGrid>								
								<h:panelGrid	cellpadding = "3"
												styleClass = "table-odd-row"
												width = "100%">							
									<h:outputText 	value = "Comments: "/>
									<h:outputText	value = "Funding has been......"
													styleClass = "project-data"/>
								</h:panelGrid>
							</h:panelGrid>
							
							<h:panelGrid	styleClass = "table-even-row"
											border = "1"
											cellpadding = "5"
											cellspacing = "3"
											width = "100%">
								
								<h:panelGrid	columns = "3"
												width = "100%">
									<h:outputText	value = "Monday, September 4, 2010 04:30 PM" />
									<h:outputText	value = "Planing -> Requirements/Analysis" />
									<h:outputText	value = "(Project Manager)" />
								</h:panelGrid>								
								<h:panelGrid	cellpadding = "3"
												styleClass = "table-odd-row"
												width = "100%">							
									<h:outputText 	value = "Comments: "/>
									<h:outputText	value = "Initial resources have been allocated adn a rough plan has been developed."
													styleClass = "project-data"/>
								</h:panelGrid>
							</h:panelGrid>
							
						</h:panelGrid>
						
						<h:panelGrid	columns = "2"
										rowClasses = "table-odd-row">
							<h:commandButton	value = "OK"
												action = "inbox"
												style = "margin-top:5px"/>
						</h:panelGrid>
					</h:panelGroup>
					
				</f:facet>
							
			</h:panelGrid> 
		
		</h:form>
		
		</body>
	</html>
</f:view>